﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HgRemoteContracts;

namespace HgRemote
{
	public class DisplayStatusItem
	{
		private StatusItem item;
		private bool _checked = true;

		public DisplayStatusItem(StatusItem item)
		{
			this.item = item;
		}

		public FileStatus Status
		{
			get { return item.Status; }
		}

		public string Path
		{
			get { return item.Path; }
		}

		public bool Checked
		{
			get { return _checked; }
			set { _checked = value; }
		}

		public List<string> DiffView { get; set; }

		public string StatusText
		{
			get
			{
				switch (Status)
				{
					default:
						return Status.ToString();
				}
			}
		}
	}
}
